<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="js/react.development.js"></script>
    <script src="js/react-dom.development.js"></script>
    <script src="js/babel.js"></script>
</head>
<body>
    <div id="root"></div>
<script type="text/babel">
// 插值表达式
/*
    表达式: 产生值的一组代码的集合
*/

let name = "KKB";
let inner = (<h1 className={"title"} id="title">
    <strong>Hello</strong>
    <em>{name}</em>
    </h1>); 
ReactDOM.render(
    inner, 
    document.querySelector("#root")
);
</script>      
</body>
</html>